package com.zzyl.nursing.service;

import java.util.List;

import com.zzyl.common.core.domain.AjaxResult;
import com.zzyl.nursing.domain.Device;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.DeviceDto;
import com.zzyl.nursing.vo.DeviceDataVo;
import com.zzyl.nursing.vo.DeviceDetailVo;
import com.zzyl.nursing.vo.ProductVo;

/**
 * 设备类型Service接口
 * 
 * @author 大黑牛
 * @date 2025-10-17
 */
public interface IDeviceService extends IService<Device>
{

    /**
     * 查询设备类型列表
     * 
     * @param device 设备类型
     * @return 设备类型集合
     */
    public List<Device> selectDeviceList(Device device);

    void syncProductList();


    List<ProductVo> allProduct();

    void register(DeviceDto dto);

    DeviceDetailVo getIotId(String iotId);


    List<DeviceDataVo> queryServiceProperties(String iotId);

    void updateDevice(DeviceDto dto);

    void deleteDevice(String iotId);

    AjaxResult queryProduct(String productKey);
}
